using System;

namespace SharpMud.MudLib.SAMPLE.Entities.Filtration
{
	public abstract class CompoundFilter : ICharacterFilter
	{
		#region Constructors
		protected CompoundFilter()
		{
		}
		#endregion
		
		#region Properties
		public abstract ICharacterFilter[] Filters {get;}
		#endregion

		#region Methods
		protected abstract bool DoesCharacterPass(ICharacter character);
		#endregion
		
		#region ICharacterFilter Members
		bool ICharacterFilter.DoesCharacterPass(ICharacter character)
		{
			return this.DoesCharacterPass(character);
		}
		#endregion
	}
}
